import {form} from "@/api/formapi.js";
export let formstore={
    module:{
        
    },
    state:{
        arr:[]
    },
    getters:{

    },
    mutations:{
        getform(state,payload){
            state.arr=payload
            // console.log(state.arr)
        }
        
    },
    actions:{
        sends(store){
            form("/api/xiaomipro/goods/form2").then((ok)=>{  
                //  console.log(arr)
                store.commit("getform",ok.data.form)
            })
        }
    },
}